body {
  background: #0f172a;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  padding: 0;
  margin: 0;
}

h1 {
  margin: 20px 0;
  font-size: 28px;
}

.input-section {
  margin: 20px 0;
}

input {
  width: 320px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
}

button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background: #38bdf8;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
}

button:hover {
  background: #0ea5e9;
}

.chart-container {
  width: 85%;
  margin: 30px auto;
  background: linear-gradient(135deg, #1e293b 0%, #1e3a52 100%);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.chart-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.chart-stats {
  text-align: right;
  line-height: 1.6;
}

.latest-value {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.change-indicator {
  font-size: 16px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
}

.increase {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.decrease {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.unchanged {
  color: #9ca3af;
  background: rgba(156, 163, 175, 0.1);
}

canvas {
  width: 100% !important;
  height: 450px !important;
}

.loading {
  font-size: 18px;
  margin: 40px 0;
}

.error {
  color: #ef4444;
  padding: 20px;
}

